import React, { Component } from 'react'

import {
  TabBar
} from 'antd-mobile'

import style from './index.less'

class App extends Component {
  render () {
    const {
      unselectedTintColor,
      tintColor,

      ...rest
    } = this.props

    return (
      <div className = { style['navbar'] }>
        <TabBar
          unselectedTintColor = '#9B9B9B'
          tintColor = '#1B160C'

          { ...rest }
        />
      </div>
    )
  }
}

Object.assign(App, TabBar)

export default App
